/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.business.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.business.model.CarDriverArchives;

public interface CarDriverArchivesService{
	
	/**
	 * 根据id获取数据
	 * @param carDriverArchivesId
	 * @return CarDriverArchives
	 */
	public CarDriverArchives getCarDriverArchivesByID(String id) throws Exception;
	
	/**
	 * 根据CarDriverArchives获取数据
	 * @param CarDriverArchives
	 * @return List<CarDriverArchives>
	 */
	public List<CarDriverArchives> getCarDriverArchives(CarDriverArchives carDriverArchives) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<CarDriverArchives>
	 */
	public List<CarDriverArchives> getCarDriverArchives() throws Exception;
	
	/**
	 * 根据车辆备案号获取驾驶员信息
	 * @param archiveNo
	 * @return List<CarDriverArchives>
	 */
	public List<CarDriverArchives> getCarDriverArchivesByArchiveNo(String archiveNo) throws Exception;
	
	/**
	 * 保存信息
	 * @param CarDriverArchives
	 * @return
	 */
	public void addCarDriverArchives(CarDriverArchives carDriverArchives) throws Exception;
	
	/**
	 * 修改数据
	 * @param CarDriverArchives
	 * @return
	 */
	public void updateCarDriverArchives(CarDriverArchives carDriverArchives) throws Exception;
	
	/**
	 * 删除数据
	 * @param carDriverArchivesId
	 * @return
	 */
	public void deleteCarDriverArchives(String id) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param CarDriverArchives
	 * @param pageUtils
	 * @return Map
	 */
	public Map getCarDriverArchivesPage(CarDriverArchives carDriverArchives,PageUtils pageUtils) throws Exception;
}
